// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  // components: { App },
  // template: '<App/>'
  // template ->ast ->render -> vdom -> dom
  render:function(createElement){
    return createElement(
      'h2',
      {class:'test'},
      [
        '爱你',
        createElement('button',['点一下'])
      ]
      )
  }
})
